Re: REST Api and Updating Campaign Bidding Strategy
Thank you for the clarification! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8d12131e-b76e-4ddc-82b1-142e3a0d1dae%40googlegroups.com.
RE: REST Api and Updating Campaign Bidding Strategy
Hello Roy, I have changed the bidding strategy to TARGET_SPEND attached the request and response log. However you cannot directly change to maximize conversion for the shared budgets, you have to create/use the existing portpoli bidding strategies using setBiddingStrategy(bidding strategy resource name) Please give it a try and let me know if you have any further questions. Regards, Sai Teja, Google Ads API Team ref:_00D1U1174p._5001UKMlmO:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cB0xP0PZ66UW00kdW5ZwZITVibOQ2K9PilBQ%40sfdc.net. 2019-10-10 13:22:11,995 INFO [Gax-4] logging.RequestLogger (RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v2.services.CampaignService/MutateCampaigns, Endpoint: googleads.googleapis.com:443, CustomerID: 8760527478, RequestID: OrXSoWRrb36L0ISV7eC_YA, ResponseCode: OK, Fault: null. 2019-10-10 13:22:12,042 DEBUG [Gax-4] logging.RequestLogger (RequestLogger.java:161) - SUCCESS REQUEST DETAIL. Request --- MethodName: google.ads.googleads.v2.services.CampaignService/MutateCampaigns Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id=1898404517, x-goog-api-client=gl-java/1.8.0_212 gapic/ gax/1.45.0 grpc/1.21.0} Body: customer_id: "8760527478" operations { update { resource_name: "customers/8760527478/campaigns/1368358302" status: PAUSED target_spend { cpc_bid_ceiling_micros { value: 990 } } } update_mask { paths: "resource_name" paths: "status" paths: "target_spend.cpc_bid_ceiling_micros" } } Response Headers: Metadata(content-disposition=attachment,content-type=application/grpc,request-id=OrXSoWRrb36L0ISV7eC_YA,x-google-esf-cloud-client-params=client_project_number: 272094737371 backend_service_name: "googleads.googleapis.com" backend_fully_qualified_method: "google.ads.googleads.v2.services.CampaignService.MutateCampaigns" ,x-google-session-info=CLG4_INhGgQYECgLOmsSGGdvb2dsZWFkcy5nb29nbGVhcGlzLmNvbRjb5_DQ9QciSDI3MjA5NDczNzM3MS12NWF1dXBlaDVtMTNxMmkwajI1ZDYwZTQ2OGsxaHJpOS5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbUoPOg0xL1hxU2pKckRJYVp-,date=Thu, 10 Oct 2019 17:22:11 GMT,x-google-gfe-request-trace=aclgah1-v6:443,qumv3:9848,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/21,qumv3:9848,aclgah1-v6:443,x-google-gslb-service=adwords-frontend-webapi-esfproxy,x-google-backends=[2002:a0d:fd46::]:4235,/bns/ym/borg/ym/bns/adwords-simply/aw-webapi-esfproxy-prod.server/21,qumv3:9848,/bns/qu/borg/qu/bns/traffic-prod/shared-layer2-gfe/50,aclgah1-v6:443,x-google-dos-service-trace=main:adwords-frontend-webapi-esfproxy,main:shared-layer2-gfe,x-google-service=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate,x-google-gfe-response-code-details-trace=response_code_set_by_backend,response_code_set_by_backend,x-google-gfe-response-body-transformations=chunked,chunked,x-google-shellfish-status=CA0gBEBG,alt-svc=quic=":443"; ma=2592000; v="46,43",h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,x-google-gfe-service-trace=adwords-frontend-webapi-esfproxy,shared-layer2-grpc-aggregate) Body: results { resource_name: "customers/8760527478/campaigns/1368358302" } Failure message: null Status: Status{code=OK, description=null, cause=null}. Updated campaign with resourceName: customers/8760527478/campaigns/1368358302.
Re: REST Api and Updating Campaign Bidding Strategy
Than you very much for the quick reply Teja, I tried what I think is a functionally equivalent code in the php sdk (as expressed in the opening post.) $campaign->setMaximizeConversions(new MaximizeConversions()); But nothing is happening. The remote campaign is not UPDATED In any case I will try from the java sdk for curiosity -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c3d10610-3709-49e3-950a-855ed7c2a78a%40googlegroups.com.
Re: REST Api and Updating Campaign Bidding Strategy
Than you very much for the quick reply Teja, I tried what is think a functionally equivalent code in php sdk, as expressed in the opening post. $campaign->setMaximizeConversions(new MaximizeConversions()); But nothing is happening. The remote campaign is not UPDATED In any case I will try from the java sdk for curiosity -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e8678f5f-a397-4dfa-98ac-bd2c1dc4d10c%40googlegroups.com.
RE: REST Api and Updating Campaign Bidding Strategy
Hello, You have to use the similar campaign update operations and set the bidding strategy type for campaign. In the thread you pointed they applied bidding strategy using ".setMaximizeConversions(MaximizeConversions.newBuilder().build()) ". Also, you can refer the code sample here to set the bidding strategy. Please let me know if you have any further questions. Regards, Sai Teja, Google Ads API Team ref:_00D1U1174p._5001UKMlmO:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/sx6uZ0PZ4HG700iMpbcyAgTm6KB6VqZE8AmA%40sfdc.net.