Doese the Google Ads API V3 wants INI file to be writable or other permissions?
We updated the Google Ads API Version from V2 to V3 via the composer. (We use this API in the PHP system.) Before updated, our system went well. However after updated, our system using this API says "segmentation fault". The below is the code when occurs the error. ``` // We set the API setting via the INI file. $objOAuth2Credential = (new OAuth2TokenBuilder())->fromFile(PATH_ADWORDS_INI) ->build(); $googleAdsClient = (new GoogleAdsClientBuilder)->fromFile(PATH_ADWORDS_INI) ->withOAuth2Credential($objOAuth2Credential) ->build(); $serviceClient = $googleAdsClient->getGoogleAdsServiceClient(); ``` And, the next below is the walk-through we found. ``` // We set the API setting by each setter, not using the INI file. $objOAuth2Credential = (new OAuth2TokenBuilder())->withClientId(ApiSettingInfo::CLIENT_ID) ->withClientSecret(ApiSettingInfo::CLIENT_SECRET) ->withRefreshToken(ApiSettingInfo::REFRESH_TOKEN) ->build(); $googleAdsClient = (new GoogleAdsClientBuilder)->withOAuth2Credential($objOAuth2Credential) ->withDeveloperToken(ApiSettingInfo::DEVELOPER_TOKEN) ->withLoginCustomerId(ApiSettingInfo::LOGIN_CUSTOMER_ID) ->build(); $serviceClient = $googleAdsClient->getGoogleAdsServiceClient(); ``` So, I have some questions. 1) The V3 class wants the INI file to a perfect writable or other permission? 2) We cannot find any inforamtion about this issue in the API reference web-site. Is it a bug of the V3? If so, this issue will be solved in the next release? Best Regards. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/8e6d66dd-e94e-4fc3-ac1b-229bfa194c76%40googlegroups.com.
I want get the data of discovery ads.
I set bunch of campaign in my google ads platform, and I use my AutoReport to gain the data form platform, my AutoReport ran very well as usual; however, I found out that my code cannot get the campaign has discovery ads inside. Plz help me to deal with this problem, Thx you!! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/49daa90e-3d70-44a5-b153-8096a2adbb14%40googlegroups.com.
Re: Get age and gender segmented data in ad, campaign or ad group performance report
> > Hey Nikisha Patel, How can i create a reports segmented by age and gender. Please let us know if there is any example. $query = 'SELECT campaign.id, ad_group_criterion.age_range.type ,ad_group.id,metrics.clicks,metrics.ctr,metrics.impressions,segments.ad_n etwork_type,segments.device, ad_group.name FROM age_range_view'; I'm not sure the above query was correct or not I tried but it's not working Can you please provide me some example or proper documentation for the age range and gender. Note: I'm using Google Ads Api Beta Thank you!! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/14fd678c-21e5-4017-b7e4-9e156c24d9c3%40googlegroups.com.
Re: Demographical report (AgeRanges + Gender)
Hey Bharani, Is there any update regarding Demographic data. I would like to get gender and age range data from google ads api. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d7859d73-e7b4-4806-aa3a-0639bc4aabd1%40googlegroups.com.
Re: Media Bundle Asset Upload
Thanks, but why I can use this file in Google ads UI and I don't see errors there? On Wednesday, April 1, 2020 at 7:42:03 PM UTC+3, adsapiforumadvisor wrote: > > Hi Sergey, > > The error coming up from the back end > is MEDIA_UPLOAD_ERROR_CUSTOM_EXIT_NOT_ALLOWED which is because you are > trying to write a custom exit for HTML5 bundles, which is not allowed. > We're looking to update the error message so that you will see this error > in the future rather than UNKNOWN. > > Regards, > Anthony > Google Ads API Team > > ref:_00D1U1174p._5001UZV1tL:ref > -- This e-mail, as well as any attached document, may contain material which is confidential and privileged and may include trademark, copyright and other intellectual property rights that are proprietary to Kenshoo Ltd, its subsidiaries or affiliates ("Kenshoo"). This e-mail and its attachments may be read, copied and used only by the addressee for the purpose(s) for which it was disclosed herein. If you have received it in error, please destroy the message and any attachment, and contact us immediately. If you are not the intended recipient, be aware that any review, reliance, disclosure, copying, distribution or use of the contents of this message without Kenshoo's express permission is strictly prohibited. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/03db11d8-e40a-461e-8869-dbe258a31cb0%40googlegroups.com.
segments.ad_network_type and segments.device results in numerical values
I'm trying to get the network type and device type from segments $query = 'SELECT campaign.id, ad_group.id,metrics.clicks,metrics.ctr,metrics.impressions,segments.ad_network_type,segments.device, ad_group.name FROM ad_group'; if ($campaignId !== null) { $query .= " WHERE campaign.id = $campaignId"; } // Issues a search request by specifying page size. $response = $googleAdsServiceClient->search($customerId, $query, ['pageSize' => self::PAGE_SIZE]); // Iterates over all rows in all pages and prints the requested field values for // the ad group in each row. foreach ($response->iterateAllElements() as $googleAdsRow) { /** @var GoogleAdsRow $googleAdsRow */ printf( "Ad group with ID %d Clicks %d Impressions %d CTR %d and name '%s' was found in campaign with ID %d and device '%s' network type '%s'.%s" , $googleAdsRow->getAdGroup()->getId()->getValue(), $googleAdsRow->getMetrics()->getClicksUnwrapped(), $googleAdsRow->getMetrics()->getImpressionsUnwrapped(), $googleAdsRow->getMetrics()->getCtrUnwrapped(), $googleAdsRow->getAdGroup()->getName()->getValue(), $googleAdsRow->getCampaign()->getId()->getValue(), $googleAdsRow->getSegments()->getDevice(), $googleAdsRow->getSegments()->getAdnetworktype(), PHP_EOL ); } But i'm getting Numerical values like 1,2,3,4 Ad group with ID 8102923 Clicks 0 Impressions 205 CTR 0 and name 'A - Videography' was found in campaign with ID 6501346749 and device '4' network type '3'. Ad group with ID 8102923 Clicks 2 Impressions 255 CTR 0 and name 'A - Videography' was found in campaign with ID 6501346749 and device '2' network type '3'. Ad group with ID 98328817814 Clicks 1 Impressions 882 CTR 0 and name 'Remarketing' was found in campaign with ID 9715050198 and device '4' network type '4'. Ad group with ID 98328817814 Clicks 2 Impressions 559 CTR 0 and name 'Remarketing' was found in campaign with ID 9715050198 and device '2' network type '4'. Ad group with ID 98328817814 Clicks 0 Impressions 7 CTR 0 and name 'Remarketing' was found in campaign with ID 9715050198 and device '3' network type '4' -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/7a4c388c-2f94-476f-8fce-6ccc3b47837f%40googlegroups.com.