V11 PHP Client Library - Updates to Campaign entities not taking
Hi, I'm trying to debug a process that involves setting campaign dates. Using the PHP Client library at this time $campaign = new Campaign([ 'resource_name' => ResourceNames::forCampaign($customerId, $campaignId), 'end_date' => $campaignDates['endDate'] // value is set to 2022-10-31 ]); $campaignOperation = new CampaignOperation(); $campaignOperation->setUpdate($campaign); $campaignOperation->setUpdateMask(FieldMasks::allSetFieldsOf($campaign)); $campaignServiceClient = $googleAdsClient->getCampaignServiceClient(); $response = $campaignServiceClient->mutateCampaigns( $customerId, [$campaignOperation] ); When I run this it doesn't seem to report any issues, but the campaign in Google Ads proper isn't reflecting my changes - I found some code examples where the date is passed in as MMDD and that didn't seem to do it, either. Is there something else I should be trying? When I set budgets via an earlier step it seems okay. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/2a340acd-7bc0-40d2-8b73-0c1c1f672bfcn%40googlegroups.com.
429 Resource has been exhausted
Hi, We are running into a strange issue with v11 of the Google Ads API. It appears quotas aren't being configured or computed correctly. We have run operations and verified in our google cloud console that we are only using 4000-5000 mutate operations, well below the documented 15000 mutate operation limit for basic api access and we are receiving consistent 429 Resource Exhausted Errors. Can you please look into this for us? Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/80dc207f-3d4c-4d92-bb45-34daff1f546cn%40googlegroups.com.
Re: Updating Lead From Asset issue
Hi Anna, No problem :) Apologies for my delayed response. I do have some clarification here. The field is technically mutable, however it's only possible to re-order the items in the list, not to add or remove any. We're actually in the process of updating the comment on the field to clarify this in our documentation. Hope this help! Please let me know if you have any questions. Best, Ben Karl Google Ads API Team ref:_00D1U1174p._5004Q2dwfov: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 "Google Ads API and AdWords 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/wQATq0RIOGJR00Mvrpj1FrSfm4Y3vAwpRZSw%40sfdc.net.
RE: regarding Out-Of-Band (OOB) flow Migration Guide
Hi Lawrence, It's good you reached out to us, you have been on 3 difficult trips, so let me address each one. You are concerned your refresh token that was generated via an OOB copy/paste response code will expire on October 3 and we have the same concern, although we cannot give you certainty. When you tried to generate another refresh token you encountered an app verification requirement which blocks you from generating an access code. To get around this you tried to make a service account and the prerequisites to use a service account with Ads API are extremely heavy. To get you up and running fast you may want to do one of these options: If you can click 'Advanced' on the Oauth error screen on the bottom right and authenticate anyways, then this is the simplest option. If it's available then you probably have an Exceptions to verification requirements and can continue to generate refresh tokens by clicking past the warning You can Configure a Google API Console Project for the Google Ads API, with the same developer token, as long as the new project is exempt you should be good to go. Go through Oauth verification - How to verify: OAuth API verification FAQs - Google Cloud Platform Console Help General information: Unverified apps - Google Cloud Platform Console Help. Make an internal app, only your Google Workspace domain accounts will be able to access through this internal app. Service accounts - with a Google Workspace domain account, delegate domain-wide authority to your service account and only being able to access accounts that have a user in that Google Workspace and deal with the Security concerns. Note that a Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days. Feel free to reach out to us. Regards, Aryeh Google Ads API Team ref:_00D1U1174p._5004Q2efNUO: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 "Google Ads API and AdWords 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/0y89m0RIOG2Q00eScMJzsaSlWiiC9NV9-Szw%40sfdc.net.
regarding Out-Of-Band (OOB) flow Migration Guide
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration Hi - I'm a little concerned. We presently have a Desktop oauth flow application we use to download data from Google Ads API. We attempted the service client switch, but honestly it doesn't work and we haven't figured out why. When I login to console to check for any redirect_uri (OOB footprints) information. I don't see any associated with the client id. Unfortunately the Oauth consent screen is no longer available. It requires some verification steps (including youtube videos) which we have not completed. When I sniff our applications network traffic I see no redirect_uri instructions AT ALL in any communication with Google. Which makes me think i won't know if we are ok until the currently valid tokens expire. I suppose my question is: *Will the Desktop Oauth flow our application uses to contact Google Ads API stop working:* 1. *On October 3, 2022* 2. *or once the refresh token expires?* Please note, the java lib we use to communicate with Google is: com.google.api-ads artifact Id: google-ads version: 19.0.0 I would be thrilled to share specifics with someone in a position to see behind Google's dashboard and tell me if we are vulnerable to a service halt on 10/3/2022. Thanks much - Lawrence Kalinowski -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/4c99bb58-c378-473a-88e3-508a9d0dbe2fn%40googlegroups.com.
RE: Best way to target on videos
Hi, Thank you for reaching out to the Google Ads API support team. Could you please provide full screen screenshot of the UI of what you are looking for, so that i can further investigate the issue?Please reply via privately author option. Thanks, Nirmita Google Ads API Team ref:_00D1U1174p._5004Q2efM4e: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 "Google Ads API and AdWords 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/DNrXV0RIOD1K00uHZ3y5LyT-6NFOGZAU8WcA%40sfdc.net.
Best way to target on videos
Hello support, I'm curious about the best way to target videos for ad placement. Assume I want to place advertisements on 10,000 videos across 100 channels. What is the best way to implement this through the Google Ads API so that the ads have the best chance of being placed on the targeting videos? thanks, Dihan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/61b908d9-1ce5-48cd-aadd-75e549755d90n%40googlegroups.com.
test cl 21
test cl 21 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/0b2cc926-c475-4907-b00b-13d8a0396bc4n%40googlegroups.com.
RE: Google Ads Query
Hi Jeffrey, Thank you for the reply. Suppose you have GAQL, and looking to get the data for said GAQL. To issue this request, pass the GAQL to the GoogleAdsService.SearchStream interface. If you are using REST, then you may use below cURL to get the data Here is a complete example of the report definition above, enclosed in an HTTP POST request. POST /v11/customers/{customer_id}/googleAds:searchStream HTTP/1.1 Host: googleads.googleapis.com User-Agent: curl Content-Type: application/json Accept: application/json Authorization: Bearer [Enter OAuth 2.0 access token here] developer-token: [Enter developerToken here] Parameters: { "query" : "SELECT campaign.name, campaign.status, segments.device, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros FROM campaign WHERE segments.date DURING LAST_30_DAYS" } If you're looking to run the reports using the client library, then you may use your GAQL with this code example. Let us know if this helps. Best regards, Heidi Google Ads API Team ref:_00D1U1174p._5004Q2eejUy: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 "Google Ads API and AdWords 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/7ncOr0RINW1700VsdkoAAHSWG1rUpeFKVhJg%40sfdc.net.
RE: Where MCC ID is hidden in Google ads report?
Hi Andrey, Thank you for reaching out to us. If you are looking to get login-customer-id, then you may refer to this guide. Note that the ListAccessibleCustomers example to generate the list of all customers accessible using the OAuth2 credentials that you supplied. As mentioned on that page, only customers that are directly accessible will be returned. You may use the customer_client report as well. Both manager and operating customer accounts could be returned. Best regards, Heidi Google Ads API Team ref:_00D1U1174p._5004Q2ef7zV: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 "Google Ads API and AdWords 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/jvu6j0RINVEK00vEyBa2G4QnKJtVLoz_1nvg%40sfdc.net.
RE: Google Ads Query
Hi, I know how to query actually, just not sure where can I query, can you give me the link to query and extract data?Thanks. From: Google Ads API Forum AdvisorSent: Friday, 23 September, 2022 5:20 PMTo: jeffrey.l...@carsome.comCc: adwords-api@googlegroups.comSubject: RE: Google Ads Query Hi Jeffrey,Thank you for raising your concern to my team.It appears that you are asking the GAQL to get the cost at the campaign level with the campaign name. With this, try using the simple query below:SELECT campaign.name, metrics.cost_micros FROM campaign WHERE segments.date >= 'Min date in this format -MM-DD' AND segments.date <= 'max date in this format -MM-DD'Regards,Ernie JohnGoogle Ads API Team ref:_00D1U1174p._5004Q2eejUy: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 "Google Ads API and AdWords 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/3FBCA4A1-CBDC-45C5-974E-06EAA4B22373%40hxcore.ol.
Where MCC ID is hidden in Google ads report?
Hi Guys, Do you know how can I get a MCC ID from reports from different MCC? I have a direct connection to get data in Big Query. Best, Andrey -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/e1788021-d9ee-4f51-99a3-93458366ae9bn%40googlegroups.com.
Google Ads Query
Hi Support, Noticed that there I google ads query builders, how can I extract my ads data by using the SQL query?For example, I would like to extract the campaign column and cost column from my ads account. For the UI interface, when I select two dates, it will combine the cost together.Thanks.Regards, JeffreyFrom: Google Ads API Forum AdvisorSent: Friday, 23 September, 2022 10:56 AMTo: jeffrey.l...@carsome.comCc: adwords-api@googlegroups.comSubject: Re: metrics.cost_micros vs google ads cost Hi Jeffrey,Thank you for providing updates to your concern.To further investigate the issue, could you provide the following details that show that data discrepancy in terms of cost? complete request and response logs with request ID and request header generated on your endScreenshot of the whole Google Ads UI where we can see the data that you are comparing with the APIYou can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsapi-supp...@google.com.Regards,Ernie JohnGoogle Ads API Team ref:_00D1U1174p._5004Q2eejUy: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 "Google Ads API and AdWords 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/C647688C-6DC4-4C8A-967B-1B4B107129A8%40hxcore.ol.