Re: get all conversion actions through the new google ads api

2022-05-07 Thread Ahmed Abd El Ftah
i have found a solution for this issue ... is using google ads query ... 
and execute it through googleAdsServiceClient->searchStream

SELECT conversion_action.id, conversion_action.name FROM conversion_action

also another note you must set the login to be with the customer id  in 
order to get list of client conversion actions
On Saturday, May 7, 2022 at 11:05:39 PM UTC+2 Ahmed Abd El Ftah wrote:

> in the old api i used to get all conversion actions for an account using 
> *ConversionTrackerService 
> & Google\AdsApi\AdWords\v201809\cm\Selector   PHP code .*
>
> but after we migrated to the new API 
> https://github.com/googleads/google-ads-php  ... there's no clue in the 
> new package code or the documentation to get all conversion actions
>
> so would really appreciate any help 
>
> 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/fb9f2316-a84d-4f58-b5ba-0afa598cbd0bn%40googlegroups.com.


get all conversion actions through the new google ads api

2022-05-07 Thread Ahmed Abd El Ftah
in the old api i used to get all conversion actions for an account using 
*ConversionTrackerService 
& Google\AdsApi\AdWords\v201809\cm\Selector   PHP code .*

but after we migrated to the new API 
https://github.com/googleads/google-ads-php  ... there's no clue in the new 
package code or the documentation to get all conversion actions

so would really appreciate any help 

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/50186786-936f-4463-af46-61f030278e9dn%40googlegroups.com.


Re: Digest for adwords-api@googlegroups.com - 21 updates in 17 topics

2022-05-07 Thread Rungrot Oranon
Thanks you

[[Rungrot_Saibutdee]]

ในวันที่ ส. 7 พ.ค. 2022 17:58 น.  เขียนว่า:

> adwords-api@googlegroups.com
> 
>  Google
> Groups
> 
> 
> Topic digest
> View all topics
> 
>
>- Ad Preview via API call <#m_-6637763630326369300_group_thread_0> - 1
>Update
>- Batch Jobs started failing. <#m_-6637763630326369300_group_thread_1>
>- 1 Update
>- Not able to retrieve campaign details
><#m_-6637763630326369300_group_thread_2> - 2 Updates
>- Customer Metrics <#m_-6637763630326369300_group_thread_3> - 1 Update
>- Google Ads API -> AdWords <#m_-6637763630326369300_group_thread_4> - 2
>Updates
>- keyword.ad_group_criterion wrongly being included
><#m_-6637763630326369300_group_thread_5> - 2 Updates
>- OOB Oauth Flow Deprecation and Existing Tokens
><#m_-6637763630326369300_group_thread_6> - 1 Update
>- Migrate your OAuth out-of-band flow to an alternative method
><#m_-6637763630326369300_group_thread_7> - 1 Update
>- Is there any campaign report that provide both Geo and campaign data
>at the same time? <#m_-6637763630326369300_group_thread_8> - 1 Update
>- Data Difference in Google ADS API Data and Google ADS UI
><#m_-6637763630326369300_group_thread_9> - 1 Update
>- UserDataService w/ .NET Client Library
><#m_-6637763630326369300_group_thread_10> - 1 Update
>- ResourceCountLimitExceededError for labels
><#m_-6637763630326369300_group_thread_11> - 1 Update
>- way to download the Geotargets programmatically with the new GAQL api
><#m_-6637763630326369300_group_thread_12> - 2 Updates
>- Google adwords location data
><#m_-6637763630326369300_group_thread_13> - 1 Update
>- Differentiation between strategy name fields
><#m_-6637763630326369300_group_thread_14> - 1 Update
>- Difference between tROAS fields
><#m_-6637763630326369300_group_thread_15> - 1 Update
>- Google Ads: How to set marketing objective (like website traffic) of
>a campaign? <#m_-6637763630326369300_group_thread_16> - 1 Update
>
> Ad Preview via API call
> 
> Jacob Peebles : May 06 04:27PM -0700
>
> We have customers that continually ask us for an example of their ad. How
> do we use the preview tool to generate an example we can show them?
>
> If there is another automated/programmatic way to get this type of view
> that's fine too, but we need to show them their ad, and not say 'hey go
> google some keywords, and good luck if you see it :).
>
> - Jake
> Back to top <#m_-6637763630326369300_digest_top>
> Batch Jobs started failing.
> 
> MATTHEW Dworkin : May 06 02:56PM -0700
>
> Hello,
>
>
> Our batch jobs started failing out of nowhere. It looks like our function
> to fetchAndReturnResults is ending before the batch job is complete. I've
> tried to increase the `MAX_TOTAL_POLL_INTERVAL_SECONDS` to 180, but still
> no luck. Is there more latency today?
>
> I've provided the constants and function below:
>
> //Constants
> const POLL_FREQUENCY_SECONDS = 1;
> private const MAX_TOTAL_POLL_INTERVAL_SECONDS = 180;
> private const PAGE_SIZE = 1000;
>
>
>
> function fetchAndReturnResults(
> BatchJobServiceClient $batchJobServiceClient,
> string $batchJobResourceName
> ) {
> $results = [];
> // Gets all the results from running batch job and print their information.
> try{
>
> $batchJobResults = $batchJobServiceClient->listBatchJobResults(
> $batchJobResourceName,
> ['pageSize' => self::PAGE_SIZE, "responseContentType"=>2]
> );
>
> foreach ($batchJobResults->iterateAllElements() as $batchJobResult) {
> $results[] = $batchJobResult;
> }
>
> return $results;
> }
> catch(GoogleAdsException $googleAdsException){
> foreach ($googleAdsException->getGoogleAdsFailure()->getErrors() as
> $error)
> {
> $results['error'][] = ['status'=>$error->getErrorCode()->getErrorCode(),
> 'err'=> $error->getMessage()];
> }
> }
> catch(Exception $e){
> $results['error'][] = ['status'=>$e->getCode(), 'err'=>$e->getMessage()];
> }
>
> finally {
> return $results;
> }
> }
>
> Right now the exception is being hit and returning an error that I can't
> retrieve results until batch job is finished.
>
> This has been working for two months, so strange it would suddenly break.
> Should I be doing something else here?
>
> Thanks for your help.
>
> Best,
> Matt
> Back to top <#m_-6637763630326369300_digest_top>
> Not able to retrieve campaign details
> 

Re: Digest for adwords-api@googlegroups.com - 1 update in 1 topic

2022-05-07 Thread Rungrot Oranon
Thanks you

[[Rungrot_Saibutdee]]

ในวันที่ ศ. 6 พ.ค. 2022 17:59 น.  เขียนว่า:

> adwords-api@googlegroups.com
> 
>  Google
> Groups
> 
> 
> Topic digest
> View all topics
> 
>
>- Not able to retrieve campaign details
><#m_1845643709766969914_group_thread_0> - 1 Update
>
> Not able to retrieve campaign details
> 
> Sreenivasan Gopal : May 05 12:22PM -0700
>
> I am experiencing the same issue in python. I am able to run the script
> but
> see no output or error. Please let me know how to resolve this
>
> Regards,
> Sree
>
> On Friday, April 29, 2022 at 12:08:13 PM UTC-7 adsapi wrote:
>
> Back to top <#m_1845643709766969914_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> 
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to adwords-api+unsubscr...@googlegroups.com.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAHgcmu0Uo5n8dp%3D30Qrn0DsNGrC3%2B%3DM0-Oz5%2BefrLx3HJFR%2Bjw%40mail.gmail.com.


What is the exact Google Ads API v9 sunset date?

2022-05-07 Thread Ершов Александр
Hello!
I see on this page that the sunset for Google Ads API is June or July 2022
Could you please tell me the exact deadline of the sunset?
https://developers.google.com/google-ads/api/docs/sunset-dates


Because it affects planning of our other tasks and we can't plan,
unless we known the exact date

Best regards, 
Alexander

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c9a00944-a0a1-4814-848b-8fc814215da7n%40googlegroups.com.


Re: protobuf PHP Extension

2022-05-07 Thread RK
Hello Ernie,

Sorry for the late response. I tried following steps and it didn't work. 
When I did composer install, it gave me an error that gRPC and protobuf 
extension are missing from php configuration. So I installed .dll file for 
gRPC. Then ran the command. So this time it gave me error for just protobuf 
extension missing. It says download it from pecl page. When I visited the 
page 
https://pecl.php.net/package/protobuf
I didn't see any .dll file for protobuf  

Regards,

RK

On Thursday, April 28, 2022 at 2:55:18 AM UTC-4 adsapi wrote:

> Hi RK,
>
> Thank you for posting your concern.
>
> I would suggest referring to this document 
>  
> as it discusses all the processes on how to configure the PHP client 
> library including about the protobuf PHP Extension that can be seen on this 
> document 
> .
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aO4K5: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/57ff9509-90fc-4127-b89e-dc3620dfab73n%40googlegroups.com.