AI-generated Key Takeaways
- 
          Migrating to v4 requires updating endpoint URLs and accounting for breaking changes. 
- 
          FirstAndThirdPartyAudienceresources have been replaced byFirstPartyAndPartnerAudienceresources, necessitating updates to references, service methods, default page size, and field names.
- 
          The advertisers.adGroups.bulkListAdGroupAssignedTargetingOptionsmethod has been renamed toadvertisers.adGroups.bulkListAssignedTargetingOptions.
- 
          The optimizationObjectivefield is now required when creating insertion orders.
- 
          The publisherReviewStatusesfield has been removed from theCreativeresource.
Last update: 2025-07-31
Migrate your application
Migrating from v3 to v4 requires updating your endpoint URLs to call v4 and updating your application to account for breaking changes.
Update your API calls from v3 to v4
To use v4 instead of v3, update your requests to use new v4 endpoints.
For example, to call the advertisers.get method with v3, use the
following URL:
GET https://displayvideo.googleapis.com/v3/advertisers/advertiserId
For v4, update the URL to the following:
GET https://displayvideo.googleapis.com/v4/advertisers/advertiserId
If you are using a client library to make requests to the API, use the most recent version of the client library and update your configuration to use v4.
Make required changes
We're introducing a number of breaking changes in v4. Review the following instructions and make the required changes relevant to your existing use of the Display & Video 360 API.
Update calls regarding first- and third-party audience resources and related targeting
FirstAndThirdPartyAudience resources have been replaced by
FirstPartyAndPartnerAudience resources.
This change requires you to update the following:
- References to FirstAndThirdPartyAudienceresources to use the newFirstPartyAndPartnerAudienceresource.
- Existing requests to methods in the v3 service firstAndThirdPartyAudiencesto the new v4 servicefirstPartyAndPartnerAudiences.
- Expectations of the default page size for
firstPartyAndPartnerAudiences.listrequests from 100 to 5000 items.
- References to the v3 firstAndThirdPartyAudienceTypefield to the new v4firstPartyAndPartnerAudienceTypefield, using the newFirstPartyAndPartnerAudienceTypeenum type, with old values corresponding to the following new values:- FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTYto- TYPE_FIRST_PARTY
- FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTYto- TYPE_PARTNER
 
- References to - AudienceTypeenum value- LICENSEDto instead use one of the following new, more specific values:- THIRD_PARTY
- COMMERCE
- LINEAR
 
- References to - AssignedTargetingOptionresources of- TargetingType- TARGETING_TYPE_AUDIENCE_GROUPto replace the v3 fields in- AudienceGroupAssignedTargetingOptionDetailswith the following new v4 fields:- excludedFirstAndThirdPartyAudienceGroupwith- excludedFirstPartyAndPartnerAudienceGroup
- includedFirstAndThirdPartyAudienceGroupswith- includedFirstPartyAndPartnerAudienceGroups
 
Update existing ad group bulk list targeting requests
advertisers.adGroups.bulkListAdGroupAssignedTargetingOptions has been renamed
advertisers.adGroups.bulkListAssignedTargetingOptions.
Update your existing requests to use the new method name.
Include an optimization objective when creating insertion orders
optimizationObjective is now a required field in the
InsertionOrder resource. Update your
advertisers.insertionOrders.create requests to verify that this
field is set.
Remove references to the creative resource field publisherReviewStatuses
The publisherReviewStatuses field has been removed from the
ReviewStatusInfo object under the
Creative resource after being deprecated in June
2024.